-
Notifications
You must be signed in to change notification settings - Fork 14k
Gate tests with the right edition #147498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment has been minimized.
This comment has been minimized.
|
I'll nominate this for compiler team discussion re. "we accepted the MCP for the direction in theory, here's the actual shape of the implementation" for a quick vibecheck. If team is onboard, we'll coordinate to bump the priority of this PR w.r.t. merge conflict potential. |
|
Discussed in today's compiler triage meeting #t-compiler/meetings > [weekly] 2025-10-09 @ 💬, no objections to current direction. I'll set aside sometime this weekend and/or next weekend to do a review pass. |
5a3a9a0 to
6e1b054
Compare
|
@bors try |
This comment has been minimized.
This comment has been minimized.
Gate tests with the right edition try-job: aarch64-gnu try-job: aarch64-apple try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: x86_64-mingw-1 try-job: test-various try-job: armhf-gnu
This comment has been minimized.
This comment has been minimized.
|
💔 Test for 058257d failed: CI. Failed jobs:
|
This comment has been minimized.
This comment has been minimized.
Gate tests with the right edition try-job: aarch64-gnu try-job: aarch64-apple try-job: x86_64-msvc-1 try-job: i686-msvc-1 try-job: x86_64-mingw-1 try-job: test-various try-job: armhf-gnu
|
☔ The latest upstream changes (presumably #147863) made this pull request unmergeable. Please resolve the merge conflicts. |
6e1b054 to
c6339ea
Compare
This comment has been minimized.
This comment has been minimized.
|
Didn't have time last weekend, I blocked out time for a review pass for this Friday/Saturday. |
|
☔ The latest upstream changes (presumably #147207) made this pull request unmergeable. Please resolve the merge conflicts. |
c6339ea to
2019c91
Compare
This comment has been minimized.
This comment has been minimized.
|
Thanks for your patience btw, as for me, I'll review this tomorrow at the latest (jieyouxu and I will both review separately). |
|
No worries, most of the conflicts are can be fixed by blessing so we're good |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Remark for myself: commit 1 looks OK)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good, a few unexpected things
2019c91 to
8efb800
Compare
| | | ||
| LL | Unstable2(()) | ||
| | ^^^^^^^^^ not found in this scope | ||
|
|
||
| error[E0308]: mismatched types | ||
| --> $DIR/unexpected-type-issue-120601.rs:22:9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remark: wait hang on, I knew this diff was fishy. What happened to the file paths or line numbers? I don't think it's with this PR, there's a diagnostics emitter bug or sth here, or maybe with compiletest's rendering of the diagnostics somehow?
EDIT: oh wait, this is compare output by lines. Still feels a bit surprising 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just blessed stuff 🤣. I can rebase the PR on top of a newer commit if that would help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good based on the review passes I've done. Waiting for another pair of eyes on the diffs to double-check.
8efb800 to
605fc52
Compare
|
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This PR guarantees that
./x test --test-args="--edition XXXX" uiruns correctly with the 2015, 2018 and 2021 editions.I don't expect this PR to hold up over time but it helps to submit further updates to the
//@ editiondirectives of tests where we can use the new range syntax to have a more robust testing across different editionsr? @fmease
try-job: aarch64-gnu
try-job: aarch64-apple
try-job: x86_64-msvc-1
try-job: i686-msvc-1
try-job: x86_64-mingw-1
try-job: test-various
try-job: armhf-gnu